package com.fengze.shop.dao;

import com.fengze.shop.domain.CarDo;
import com.fengze.shop.domain.ProductDo;
import com.fengze.shop.domain.UserDo;

import java.util.List;

/**
 * Created by zhangls on 2016/11/3 0003.
 */
public interface CarDao {

    public Boolean addCarInfo(CarDo carDo);

    public List<CarDo> queryCarInfo(UserDo user);

    public Integer queryCarCount(UserDo user);

    public Integer queryCarByPro(CarDo carDo);

    public Boolean updateCarNum(Integer carId);

    public Boolean delCarItem(String carId);

    public Boolean updCarItem(String carId, String proNum);

    public Boolean delCarByUser(Integer userId);
}
